import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
const request = {
    case_list(params, callback) {
        http.post(host_one + "/caselist", params, callback)
    },
    add_case(params, callback) {
        http.post(host_one + "/caseadd", params, callback)
    },
    edit_case(params, callback) {
        http.post(host_one + "/caseupdate", params, callback)
    },
    delete_case(params, callback) {
        http.post(host_one + "/casedelete", params, callback)
    },
    detail_case(params, callback) {
        http.post(host_one + "/casedetail", params, callback)
    },
    search_case(params, callback) {
        http.post(host_one + "/casesearch", params, callback)
    },
    finish_case(params, callback) {
        http.post(host_one + "/casefinish", params, callback)
    },
    valide_case(params, callback) {
        http.post(host_one + "/casevalide", params, callback)
    }
}
export default request;